package com.xdxc.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
@ConfigurationProperties(prefix = "spring.security.hmac")
public class HmacConfig {

    private Map<String, String> clientSecrets = new HashMap<>();

    public Map<String, String> getClientSecrets() {
        return clientSecrets;
    }

    public void setClientSecrets(Map<String, String> clientSecrets) {
        this.clientSecrets = clientSecrets;
    }
}

